const mongoose = require('mongoose')    //引入Mongoose
const Schema = mongoose.Schema          //声明Schema
let ObjectId = Schema.Types.ObjectId    //声明Object类型
const categorySchema = new Schema({
    name:String
})
mongoose.model('Category',categorySchema)